/*

StringNode.h
for holding strings of each file with their frequency
linked rightwards to node of same type
copyright (c) psych0der

*/
#include <string>
using namespace std;

class StringNode
{
	
private:
	string word;
	int frequency;

	
public:
	
	StringNode *rightptr;
	StringNode(string ,int);
	
	string getWordName();
	
	int getFrequency();

	int assignNextPtr(StringNode *);
	void incrementFrequency();
	
	
	

};